import {Component, OnInit} from "@angular/core";
import {test} from "../model/test";
import {test2} from "../model/test2";
import {test as test3} from "../model/test/test";
/**
 * Created by ybjaa on 2017/7/3.
 */

@Component({
    selector: 'my-rightContent',
    templateUrl:"./test.component.html",
    styleUrls:["./test.component.css"]
})
export class TestComponent implements OnInit{


    ngOnInit(): void {

       let t1=new test();
       let t2=new test2();
       let t3=new test3();
       let pt1=test.prototype;
       let pt2=test2.prototype;
       let pt3=test3.prototype;




       let v1=t1.valiator();


       let v2=t2.valiator();


       let v2_1=t2.getValiator1();


       let v3=t3.valiator();

       let v3_1=t3.getValiator1();


    }
}